@extends('layouts.default')
@section('title', '登陆');

@section('content')
<div class="offset-md-2 col-md-8">
    <div class="card">
        <div class="card-header">
            <h5>登陆</h5>
        </div>
        <div class="card-body">
            @include('shared._errors')

            <form action="{{ route('login') }}" method="post">
                {{ csrf_field() }}
                <div class="form-group">
                    <label for="email">邮箱：</label>
                    <input type="text" name="email" value="{{old('email')}}">
                </div>
                <div class="form-group">
                    <label for="password">密码：</label>
                    <input type="password" name="password" id="" class="form-control" value="{{old('password')}}">
                </div>
                <div class="from-group">
                    <div class="form-check">
                        <input type="checkbox" name="remember" id="exampleCheck1" class="form-check-input">
                    </div>
                    <label for="exampleCheck1" class="form-check-label">记住我</label>
                </div>
                <button type="submit" class="btn btn-primary">登陆</button>
            </form>
            <hr>
            <p>还没有账户?<a href="{{route('signup')}}">现在注册</a></p>
        </div>
    </div>
</div>
@stop
